package ga.wavaplayer.ui.events {
	import flash.events.Event;
	
	public class WPlayerUIEvent extends Event {
		
		public static const UNIDENTIFIED_BUTTON_CLICKED:String = "wplayeruievent.unidentified_button_clicked";
		public static const PLAY_BUTTON_CLICKED:String = "wplayeruievent.play_button_clicked";
		public static const PAUSE_BUTTON_CLICKED:String = "wplayeruievent.pause_button_clicked";
		public static const STOP_BUTTON_CLICKED:String = "wplayeruievent.stop_button_clicked";
		public static const MAXIMIZE_BUTTON_CLICKED:String = "wplayeruievent.maximize_button_clicked";
		public static const MINIMIZE_BUTTON_CLICKED:String = "wplayeruievent.minimize_button_clicked";
		public static const SOUND0_BUTTON_CLICKED:String = "wplayeruievent.sound0_button_clicked";
		public static const SOUND1_BUTTON_CLICKED:String = "wplayeruievent.sound1_button_clicked";
		
		public var time_mark:uint;
		
		public function WPlayerUIEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) { 
			super(type, bubbles, cancelable);
		} 
		
		public override function clone():Event { 
			return new WPlayerUIEvent(type, bubbles, cancelable);
		} 
		
		public override function toString():String { 
			return formatToString("WPlayerUIEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
	}
}
